// MySocket.h: interface for the CMySocket class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYSOCKET_H__6DBDA725_F57E_4A7A_8BF6_94580D17BE48__INCLUDED_)
#define AFX_MYSOCKET_H__6DBDA725_F57E_4A7A_8BF6_94580D17BE48__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMySocket  
{
public:
	CMySocket();
	virtual ~CMySocket();
	int CreateSocket(int port);
	int SendTo(char* buf,int buf_len,struct sockaddr_in* addr,int addr_len);
	int SendTo(char* buf,int buf_len,char* ipaddr,int port);
	int fd;
	int port;
};

#endif // !defined(AFX_MYSOCKET_H__6DBDA725_F57E_4A7A_8BF6_94580D17BE48__INCLUDED_)
